package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_felling_trees_item",autoSave = true,uploadCk = true,desc = "吴刚-道具使用")
public class LogFellingTreesItem extends ServerBaseLog{

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "道具ID")
    private int itemId;
    @FieldTypeAnnotation(desc = "变化数量")
    private String changeCount;
    @FieldTypeAnnotation(desc = "当前数量")
    private String count;
    @FieldTypeAnnotation(desc = "途径")
    private int way;


    public LogFellingTreesItem(int activityId, long userId, int itemId, String changeCount, String count, int way) {
        this.activityId = activityId;
        this.userId = userId;
        this.itemId = itemId;
        this.changeCount = changeCount;
        this.count = count;
        this.way = way;
    }

    public int getWay() {
        return way;
    }

    public void setWay(int way) {
        this.way = way;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getItemId() {
        return itemId;
    }

    public void setItemId(int itemId) {
        this.itemId = itemId;
    }

    public String getChangeCount() {
        return changeCount;
    }

    public void setChangeCount(String changeCount) {
        this.changeCount = changeCount;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }
}
